package org.kzwl.comm.pojo.bo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class SaveCuVolunteersBO {

    private Integer cuVolunteersId;

    /**
     * 标题
     */
    private String cuVolunteersTitle;

    /**
     * 标签ID
     */
    @NotNull(message = "标签ID不能为空")
    private Integer cuVolunteersCategoryId;

    /**
     * 活动开始时间
     */
    @NotNull(message = "开始时间不能为空")
    private LocalDateTime cuVolunteersStartDate;

    /**
     * 活动结束时间
     */
    @NotNull(message = "结束时间不能为空")
    private LocalDateTime cuVolunteersEndDate;

    /**
     * 联系人
     */
    @NotEmpty(message = "联系人不能为空")
    private String cuVolunteersContact;

    /**
     * 报名截止
     */
    @NotNull(message = "报名截止时间不能为空")
    private LocalDateTime cuVolunteersStop;

    /**
     * 报名限制
     */
    @NotEmpty(message = "报名限制不能为空")
    private String cuVolunteersLimit;

    /**
     * 详细地址
     */
    @NotEmpty(message = "详细地址不能为空")
    private String cuVolunteersAddress;

    /**
     * 活动简介
     */
    @NotEmpty(message = "活动简介不能为空")
    private String cuVolunteersIntroduction;

    /**
     * 服务内容
     */
    @NotEmpty(message = "服务内容不能为空")
    private String cuVolunteersServiceContent;

    /**
     * 招募人数
     */
    private Integer cuVolunteersCountRecruiting = 0;

    /**
     * 封面链接
     */
    private String cuVolunteersImg;

    /**
     * 联系人电话
     */
    private String cuVolunteersPhone;

    /**
     * 发布人ID
     */
    @NotNull(message = "发布人不能为空")
    private Integer cuVolunteersUserId;

}
